package com.jd.oneday.month3;

/**
 * 创建一个环形链表的节点类
 * no 编号
 * next 指向下一个节点
 */

public class Day15_Boy {
    private int no;
    private Day15_Boy next;

    public Day15_Boy(int no){
        this.no = no;
    }

    public int getNo() {
        return no;
    }

    public Day15_Boy getNext() {
        return next;
    }

    public void setNo(int no) {
        this.no = no;
    }

    public void setNext(Day15_Boy next) {
        this.next = next;
    }
}
